package boot

import (
	"gdshop-font-api-go/library/banner"
	"gdshop-font-api-go/library/tools/OrderQueue"
	"github.com/gogf/gf/frame/g"
	"github.com/gogf/swagger"
)

// 用于应用初始化。
func init() {
	// 添加代码层级的启动配置
	s := g.Server()
	s.Plugin(&swagger.Swagger{})
	banner.InitBanner()

	OrderQueue.InitOrderQueue()
}
